package com.hzit.irs.resp;

import java.util.List;

/**
 * 菜单属性
 */
public class MenuData {

    private String id;

    private String parentId;

    private String code;

    private String title;

    private String icon;

    private boolean enable;

    private String href;

    private List<MenuData> children;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean getEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public List<MenuData> getChildren() {
        return children;
    }

    public void setChildren(List<MenuData> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "MenuData{" +
                "id='" + id + '\'' +
                ", parentId='" + parentId + '\'' +
                ", code='" + code + '\'' +
                ", title='" + title + '\'' +
                ", icon='" + icon + '\'' +
                ", enable='" + enable + '\'' +
                ", href='" + href + '\'' +
                ", children=" + children +
                '}';
    }
}
